Set Bluetooth as master device and connect to slave device

NOTE
As of February 5, 2026, the Bluetooth module has been updated from version 102 to version 105. Devices manufactured before this date will not be compatible with the new interface.
  • Function:

  • Description: Initialize the Bluetooth module in master device mode and establishe a transparent transmission connection with the slave Bluetooth device.

  • Parameter:

    • mac: The Bluetooth MAC address of the target slave device.
  • Return: Return an integer array ret of length 2.

    • ret[0]: Function enumeration value.
    • ret[1]: Returns 0.

results matching ""

    No results matching ""